home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 12659 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.4 KB

  1. Path: howland.reston.ans.net!psinntp!psinntp!psinntp!psinntp!usenet
  2. From: grantp@usa.pipeline.com(Pete Grant)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Dialog box exception in Borland C++
  5. Date: 21 Mar 1996 01:19:15 GMT
  6. Organization: Kalevi, Inc.
  7. Message-ID: <4iqaqj$l8a@news1.h1.usa.pipeline.com>
  8. References: <rankin.12.000C6EA4@stcloud.msus.edu>
  9. NNTP-Posting-Host: 38.8.60.5
  10. X-PipeUser: grantp
  11. X-PipeHub: usa.pipeline.com
  12. X-PipeGCOS: (Pete Grant)
  13. X-Newsreader: Pipeline v3.5.0
  14.  
  15. On Mar 20, 1996 12:25:50 in article <Dialog box exception in Borland C++>,
  16. 'rankin@stcloud.msus.edu (Jim Rankin)' wrote: 
  17.  
  18.  
  19. >We are developing a software package using Borland C++ 4.5. 
  20. >The Windows application works ok when operated from the Integrated 
  21. >Development Environment. 
  22. > [... rest deleted ...] 
  23.  
  24. From the comp.lang.c++ FAQ: 
  25. ============================================================================== 
  26.  
  27. Q147: Why does my BC++ Windows app crash when I'm not running the BC45 IDE?
  28.  
  29.  
  30. If you're using BC++ for a Windows app, and it works ok as long as you have
  31. the 
  32. BC45 IDE running, but when the BC45 IDE is shut down you get an exception 
  33. during the creation of a window, then add the following line of code to the
  34.  
  35. InitMainWindow() method of your application ("YourApp::InitMainWindow()"): 
  36.  
  37.     EnableBWCC(TRUE); 
  38.  
  39. ============================================================================== 
  40.  
  41. -- 
  42. Pete Grant 
  43. Kalevi, Inc. 
  44. Software Engineering & development
  45.